package com.zeeephr.core;

public abstract class Servlet {
	
	
	public void service(Request req,Response resp) {
		String method=req.getMethod();
		if("POST".equals(method))doPost(req,resp);
		if("GET".equals(method))doPost(req,resp);
	}
	public void doGet(Request req,Response resp) {
		return ;
	}
	public void doPost(Request req,Response resp) {
		return ;
	}
}
